/*
* $Id: Styles.cpp 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#include "Common/include.h"
#include "Styles.h"

CStyle::CStyle(int nId)
: m_nId(nId){}

std::tstring CStyle::GetNameStyle(){
	return IApplication::GetApp()->GetLanguageManager()->GetString(m_nId);
}
int CStyle::GetStyleId(){
	return m_nId;
}
void CStyle::Free(){
	delete this;
}

CTreeStyle::CTreeStyle()
: CStyle(STYLE_TREE_NAME_ID){}